<ion-view hide-nav-bar="false" view-title="报单详情">
  <ion-content class="wap3-user wap3-center has-tabs" ng-class="{'wap3-ios-hade':platform.IOSAPP}" style="background-color: #e4e3ea; bottom: 0px;">
    <div>
      <ul class="updata-ul">
        <li ng-repeat="p in photo">

          <div class="item item-icon-left c1 ">
            <p>{{p.oPhoType | updataTypeViewRender}}</p>
            <i ng-show="!p.oPhoStatus" class="icon ion-upload"></i>
            <i ng-show="p.oPhoStatus == '02'" class="icon ion-minus-circled"></i>
            <i ng-show="p.oPhoStatus == '03'" class="icon ion-checkmark-circled"></i>
            <i style="color:red;" ng-show="p.oPhoStatus == '04'" class="icon ion-close-circled"></i>
            <i ng-show="p.oPhoStatus == '00'" class="icon ion-checkmark-circled"></i>
            {{p.oPhoStatus | updataTypeStatusRender}}
            <div ng-show="p.oPhoReason && p.oPhoStatus != '00'" class="oPhoReason">{{p.oPhoReason}}</div>
          </div>

          <div class="item item-icon-left c2" ng-show="!p.oPhoUri">
            <i style="left:40%" class="icon ion-plus-circled"></i>
          </div>

          <!--<div class="item item-icon-left c2" ng-show="p.oPhoStatus == '04'">
            <i class="icon ion-plus-circled"></i>审核失败，请重新上传
          </div>-->

          <div class="c2" ng-show="p.oPhoUri" style="padding: 0px;">
            <img ng-src="{{requrl + p.oPhoUri}}" ng-click="showBigImg(p.oPhoUri)">
            <div class="item item-icon-left c2" ng-show="p.oPhoStatus == '04'" style="position: absolute; top: 0; left: 0; width: 100%; margin-top: 0px; background: none; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background-color: rgba(0, 0, 0, 0.4); z-index: 20; color: #fff; ">
              <i class="icon ion-plus-circled"></i>重新上传
            </div>
          </div>
          <input type="file" ng-hide="p.oPhoStatus == '02' || p.oPhoStatus == '03'" id="up-img{{p.oPhoType}}" class="up-img">

        </li>
      </ul>
      
      <div style="width: 100%; text-align: center;">
        <button ng-hide="phoStatus == '02' || phoStatus == '03'" ng-click="done()" class="button button-assertive" style="width: 95%; height: 45px; font-family: 微软雅黑; background: #f93841; margin-top: 30px;">确认提交</button>
      </div>
    </div>
  </ion-content>
</ion-view>
<div ng-show="isShowBigImg" ng-click="hideBigImg();">
  <div class="backdrop visible backdrop-loading active"></div>
  <div class="loading-container visible active"><img ng-src="{{bigImgUrl}}" style="width: 100%;"></div>
</div>
<div ng-show="updataFile.isShowLoading">
  <div class="backdrop visible backdrop-loading active"></div>
  <div class="loading-container visible active" style="color: #fff;">
    上传中...{{updataFile.percent | number:2}}%
  </div>
</div>